Feature: 13. Pelco_D Tests
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I pan to 90 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "90"
And
I extract Pan and Tilt values
And
the Pan value is 90
And
the Tilt value is 0
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I pan to 270 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "-90"
And
I extract Pan and Tilt values
And
the Pan value is -90
And
the Tilt value is 0
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I pan to 210 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "-150"
And
I extract Pan and Tilt values
And
the Pan value is -150
And
the Tilt value is 0
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I tilt to 5 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "0"
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 5
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I tilt to -15 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "0"
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is -15
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I tilt to 30 degrees via Pelco-D
And
I wait 10 seconds
Then
the text on element Detection Bar Value is "0"
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 20
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I pan clockwise, medium speed via Pelco-D
And
I wait 5 seconds
And
I extract Pan and Tilt values
Then
the value of Pan is greater than 0
And
the Tilt value is 0
And
I stop the PTU movement via Pelco-D
And
I extract Pan and Tilt values
And
the Tilt value is 0
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I pan anti-clockwise, high speed via Pelco-D
And
I wait 4 seconds
And
I extract Pan and Tilt values
Then
the value of Pan is smaller than 0
And
the Tilt value is 0
And
I stop the PTU movement via Pelco-D
And
I extract Pan and Tilt values
And
the Tilt value is 0
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I tilt negative, high speed via Pelco-D
And
I wait 7 seconds
And
I extract Pan and Tilt values
And
the Tilt value is -18
And
the Pan value is 0
And
I stop the PTU movement via Pelco-D
Given
I'm using the app
And
class "initialLoader" is invisible
java.lang.AssertionError at org.junit.Assert.fail(Assert.java:86) at org.junit.Assert.fail(Assert.java:95) at extern.bsb.tests.ui.then.WaitForElement.Then_mode_is_active(WaitForElement.java:428) at ✽.the MANUAL is active(file:///media/PTJenkins/jenkins_home/jenkins/workspace/CI-CD_ShortTermSentry_2/short_term_sentry/shortTermSentry/13.Pelco_D.feature:6)
And
the Primary Camera Rotation Button is clicked
And
the Primary Camera Rotation Menu is visible
And
the Primary Camera Rotation 0 is clicked
And
I wait 10 seconds
And
I extract Pan and Tilt values
And
the Pan value is 0
And
the Tilt value is 0
Before
Hook
When
I tilt positive, low speed via Pelco-D
And
I wait 7 seconds
And
I extract Pan and Tilt values
And
the value of Tilt is greater than 0
And
the Pan value is 0
And
I stop the PTU movement via Pelco-D